#ifndef _RECORDDATE_H_
#define _RECORDDATE_H_

typedef struct tm{
	u8 hour;
	u8 min;
	u8 sec;
}Tim;

typedef struct dt{
	u16 Temp;
	u16 ADVal;
	Tim time;
	u8 res;
}DataStruct;

int  dataWrite(u16 addr,u8 *dt,int length);
int dataRead(u16 addr,u8 *dt,int length);

#endif